package com.itwk.gulimall.product.vo.webVo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: wangke
 * @Date: 2021/01/27/下午 3:55
 * @Description:  商城首页的二三级分类数据模型
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Catalog2List {
    private String id;
    private String name;
    private String catalog1Id;
    private List<Catalog3List> catalog3List;

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class Catalog3List{
        private String name;
        private String id;
        private String catalog2Id;
    }
}
